<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>微信消息关键字回复</title>
 <%@ include file="/page/include.jsp" %>
</head>
<body class="nav-md" style="background-color: #f7f7f7">
	<div class="container body">
		<div class="main_container">
			<div class="framebody" style="min-height: 100%;" role="main">
				<div class="row">
					<div class="col-md-12 col-sm-12 col-xs-12">
						<div class="x_panel">
							<div class="x_content">
								<form class="form-horizontal form-label-left" novalidate id="wechatMsgKeywordReplyForm"  method="post" action="${pageContext.request.contextPath}/wechatMsgKeywordReply/saveOrUpdateWechatMsgKeywordReply">
									<input type="hidden"  id="id" name="id" value="${wechatMsgKeywordReply.id }" >
									<div class="item form-group">
										<label class="control-label col-md-2 col-sm-2 col-xs-12" for="roleName"><span class="required"><font color="red">*</font></span>关键字:
										</label>
										<div class="col-md-3 col-sm-3 col-xs-12">
											<input id="keyword" name="keyword" value="${wechatMsgKeywordReply.keyword }" class="form-control col-md-3 col-xs-12"  type="text">
										</div>
										<div style="margin-top:5px;"><i class="fa fa-info-circle fa-fw"></i> 温馨提示：填写关键字的长度不得超过10个字符！</div>
									</div>
									<div class="item form-group">
										<label class="control-label col-md-2 col-sm-2 col-xs-12" for="roleName"><span class="required"><font color="red">*</font></span>匹配规则: 
										</label>
										<div class="col-md-3 col-sm-3 col-xs-12">
											<select class="selectpicker form-control col-md-12" id="matchRule" name="matchRule" data-value="${wechatMsgKeywordReply.matchRule }">
											</select>  
										</div>
									</div>
									<div class="item form-group">
										<label class="control-label col-md-2 col-sm-2 col-xs-12" ><span class="required"><font color="red">*</font></span>有效时间: 
										</label>
										<div class="col-md-8 datetime">
											<ul class="horizontal_ul">
												<li>
													<input type="text" id="effectiveBeginTime" name="effectiveBeginTime" data-value="${wechatMsgKeywordReply.effectiveBeginTime }" class="form-control">
												</li>
												<li> 
													<label class="control-label">
														—
													</label>
												</li>
												<li>
													<input type="text" id="effectiveEndTime" name="effectiveEndTime" data-value="${wechatMsgKeywordReply.effectiveEndTime }" class="form-control">
												</li>
											</ul>
											
										</div>
									</div>
									<div class="item form-group">
										<label class="control-label col-md-2 col-sm-2 col-xs-12" for="roleName"><span class="required"><font color="red">*</font></span>消息: 
										</label>
										<div class="col-md-6 col-sm-6 col-xs-12">
											<ul class="horizontal_ul">
												<li>
													<a class="btn btn-success" id="btnSelectMsg"><i class="fa fa-wechat fa-fw"></i> 选择消息</a>
												</li>
												<li>
													<input type="hidden" id="msgId" name="msgId" value="${wechatMsgKeywordReply.msgId }"/>
													<input id="msgTitle" value="${wechatMsgKeywordReply.wechatMsgConfigInfo.msgTitle }" class="form-control" style="width:215px;margin-left:-10px;background-color:#fff;" readonly />
												</li>
											</ul>
										</div>
									</div>
								</form>
								<div class="ln_solid"></div>
								<div class="form-btn-content">
									<a id="btn_save" class="btn btn-primary">确定</a>
									<a id="btn_back"class="btn btn-default">返回</a>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript"  src="${rootPath}/js/sysconfig/wechatMsgKeywordReply_form.js"></script>
</html>